<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></meta>
  <title>Thrive Mobile Application</title>
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
<!--- Some jquery stuff --->
	<link rel="stylesheet" href="../../scripts/jquery.mobile-1.0.1/jquery.mobile-1.1.0-rc.1.min.css" type="text/css" />
    <link rel="stylesheet" href="../../scripts/jquery.mobile-1.0.1/thrive-theme.css" type="text/css">
    <script src="../../scripts/jquery.mobile-1.0.1/jquery-1.6.4.min.js" type="text/javascript"></script>
    <script src="../../scripts/Thrive.js"  type="text/javascript"></script>
    <script src="AccountControl.js" type="text/javascript"></script>
    <script src="../Feel/Feel.js" type="text/javascript"></script>
    <script src="../../scripts/jquery.mobile-1.0.1/jquery.mobile-1.1.0-rc.1.min.js" type="text/javascript"></script>
    
    <link rel="stylesheet" href="../../css/style.css" type="text/css" />
</head>

<body>
	<div id="share" data-role="dialog">
    
    <script type="text/javascript">
		
		$("#data_share_yes").live('click', function() {					
			dataShareAnswer = "true";
			$.mobile.changePage("create.html", {transition: "pop", reverse: true});
		});
		
		$("#data_share_no").live('click', function() {					
			dataShareAnswer = "false";
			$.mobile.changePage("create_nodata.html", {transition: "pop", reverse: true});
		});
		
	</script>
    
    <div data-role="header" data-theme="d">
        <h1></h1>
    </div>
    
    <div data-role="content" data-theme="c">
    	<h1>Do you want to share your data?</h1>
        <p>You have a decision to make. If you like, you can agree for all of the information that you enter on the Thrive application to be sent to the creators. If you do so, your information would be associated with an ID number only – not your name. That means it would be very difficult if not impossible for you to be identified. The researchers are interested in looking at questions such as: What are the average mood ratings like for teens when they start using the app and after they have been using it for some time? How do teens’ beliefs about self relate to their moods? What kinds of stories do teens tell about their strengths? If you decide to allow your data to be used for research purposes, you should know that your data will be kept on an encrypted server for 10 years or more. Only researchers directly associated with the Thrive research project will have access to your information.</p>
        
        <div data-role="controlgroup">
            <a id="data_share_yes" href="javascript:void(0)" data-role="button" data-theme="b">Yes</a>       
            <a id="data_share_no" href="javascript:void(0)" data-role="button" data-theme="c">No</a>
        </div> 
    </div>
    
    </div>
</body>

</html>